textview: Use the adjustment target value to figure out if keynav failed
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 8 Jul 2014 13:17:23 +0000 (15:17 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 9 Jul 2014 01:14:41 +0000 (21:14 -0400)
commitf7e983a4c98bca80f3a1fb62cb3a57ff5e5123a3
tree413af461b4fd53d47257a771cfe88a16a18030d8
parentee0982ffe31cd342382402658aadb0d03a5c8b27
textview: Use the adjustment target value to figure out if keynav failed

When moving the cursor, compare current adjustment value with the post-animation
target value, in order to avoid false "keynav failed" positives as the animation
hasn't started yet, so dx/dy are still 0 at that time.
gtk/gtktextview.c